<?php
/**
 * Aero - Xistins Technologies PHP Framework
 * 
 * LICENSE
 * This source file is subject to the New BSD license that is bundled 
 * with this package in the LICENSE.txt. It is also available through 
 * the world-wide-web at this URL: http://dev.xistins.com/license/production
 * If you did not receive a copy of this license and are unable to obtain
 * it through the world-wide-web, please send an email to 
 * license@xistins.com so we can send you a copy immediately.
 * 
 * @category   Aero
 * @package    Aero_Db
 * @subpackage Adapter
 * @copyright  http://dev.xistins.com/license/production     New BSD
 * @version    $Id: MySql.php 2 2009-11-03 04:10:03Z csouth@xistins.com $
 */

/** @see Aero_Db_Adapter **/
require_once 'Aero/Db/Adapter/Pdo/Abstract.php';

/**
 * Abstract database adapter
 * 
 * @category   Aero
 * @package    Aero_Db
 * @subpackage Adapter
 * @copyright  http://dev.xistins.com/license/production     New BSD
 * @version    $Id: MySql.php 2 2009-11-03 04:10:03Z csouth@xistins.com $
 */
class Aero_Db_Adapter_Pdo_MySql extends Aero_Db_Adapter_Pdo_Abstract
{
    /**
     * PDO Type
     * @var string
     */
    protected $_pdoType = "mysql";

    /**
     * Commit Transaction
     * 
     * @return void
     */
    protected function _commit()
    {
        $this->getConnection()->commit();
    }

    /**
     * Begin Transaction
     * 
     * @return void
     */
    protected function _beginTransaction()
    {
        $this->getConnection()->beginTransaction();
    }

    /**
     * Roll Back Transaction
     * 
     * @return void
     */
    protected function _rollBack()
    {
        $this->getConnection()->rollBack();
    }

    /**
     * List all tables in DB
     * 
     * @return array|object
     */
    public function listTables()
    {
        /**
         * @TODO
         */
    }
}